<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="javascript:void(0)">开始</a> / 
    <a href="javascript:void(0)">入库管理</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
        <a href="{url('addwarehouse/index')}" class="button">
            <i class="iconfont icon-xiangzuo1"></i> 返回
        </a>
    </div>
</div>
<div class="m10">
<form id="form" action="{url('addwarehouse/edit')}">
<input type="hidden" name="id" value="{$id}"/>   
<table class="table">
    <tr>
      <th>管理员:</th>
      <td>
        <input class="input w100 gray-input" readonly="readonly" datatype="*" type="text" name="addwarehouse_admin_name" value="{if $info['addwarehouse']}{$info['addwarehouse']}{else}{$userInfo['username']}{/if}" />
      </td>
    </tr>
    <tr>
      <th>imei号:</th>
      <td>
        <input class="input w100 gray-input" readonly="readonly" datatype="*" type="text" name="imei" value="{$info['imei']}" />
      </td>
    </tr>
    <tr>
      <th>收货时间:</th>
      <td colspan="5">
        <input class="input w150 ui-time" datatype="date" type="text" name="ems_take_time" value="" readonly="readonly" />
      </td>
    </tr>
    <tr>
      <th>购机时间:</th>
      <td colspan="5">
        <input class="input w150 ui-time" datatype="date" type="text" name="shop_time" value="" readonly="readonly" />
      </td>
    </tr>
    <tr>
      <th>是否保内:</th>
      <td>
<select class="select" name="overtime" datatype="*">
    <option value="" selected="selected"></option>
    <option value="保内">保内</option>
    <option value="过保">过保</option>
</select>
      </td>
    </tr>
    <tr>
      <th>库位:</th>
      <td>
<select class="select" name="place_id" datatype="*">
    <option value="" selected="selected"></option>
{loop $place_lists $vo} 
    <option value="{$vo['id']}" {if $info['place_id'] ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="确认入库" class="button button-blue" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
    $('#form').forms();
})
</script>